/*
 * 作者：姚俊
 * 功能：学科建设平台的主action
 * 日期：2014-05-29
 */
package admin.action.InnPlatform;
import java.util.*;

import admin.bean.Platform;
import admin.service.subject.PlatformService;

public class PlatformAction {
	
	List<Platform> platforms;
	private String deleted;

	public List<Platform> getPlatforms() {
		return platforms;
	}

	public void setPlatforms(List<Platform> platforms) {
		this.platforms = platforms;
	}
	
	public String getDeleted() {
		return deleted;
	}

	public void setDeleted(String deleted) {
		this.deleted = deleted;
	}

	public String execute()
	{
		this.setPlatforms(new PlatformService().getAllPlatform());
		return "succ";
	}

}
